package com.todaynews.frame.theme.views.themeable;

import android.content.Context;
import android.util.AttributeSet;
import androidx.annotation.Nullable;
import com.todaynews.frame.theme.ThemeHelper;
import com.todaynews.frame.theme.Themed;
import com.todaynews.frame.theme.ui.ThemedIcon;


public class ThemedSettingsIcon extends ThemedIcon implements Themed {

    public ThemedSettingsIcon(Context context) {
        this(context, null);
    }

    public ThemedSettingsIcon(Context context, @Nullable AttributeSet attrs) {
        this(context, attrs, 0);
    }

    public ThemedSettingsIcon(Context context, @Nullable AttributeSet attrs, int defStyleAttr) {
        super(context, attrs, defStyleAttr);
    }

    @Override
    public void refreshTheme(ThemeHelper themeHelper) {
        setColor(themeHelper.getIconColor());
    }
}
